/* 我的页面主容器 */
.my {
  min-height: 100vh;
  background-color: #f5f6fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

/* 用户信息区域 */
.user-info {
  background: linear-gradient(135deg, #00d4aa 0%, #00c19a 100%);
  padding: 40px 20px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;

  .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);

    .avatar-text {
      color: #fff;
      font-size: 14px;
      font-weight: 500;
    }
  }

  .user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;

    .user-name {
      color: #fff;
      font-size: 20px;
      font-weight: 600;
    }

    .user-subtitle {
      color: rgba(255, 255, 255, 0.8);
      font-size: 14px;
    }
  }

  .login-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;

    &:active {
      transform: scale(0.96);
      background-color: rgba(255, 255, 255, 0.3);
    }

    &::after {
      border: none;
    }
  }
}

/* 菜单区域 */
.menu-section {
  background-color: #fff;
  border-radius: 12px;
  margin: 0 20px 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 菜单项 */
.menu-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f5f6fa;

  &:last-child {
    border-bottom: none;
  }

  &:active {
    background-color: #f8f9fa;
  }

  .menu-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
  }

  .menu-text {
    flex: 1;
    font-size: 16px;
    color: #333;
    font-weight: 500;
  }

  .menu-arrow {
    color: #00d4aa;
    font-size: 14px;
    font-weight: bold;
  }
}

/* 其他功能区域 */
.other-section {
  margin: 0 20px;

  .section-title {
    padding: 0 4px 12px;

    text {
      font-size: 14px;
      color: #888;
      font-weight: 500;
    }
  }

  .menu-item {
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 8px;
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

    &:last-child {
      margin-bottom: 0;
    }
  }
}
